{% extends 'base.html' %}
{% block title %}
<title>PayPal投诉信息页面</title>
{% endblock %}
{% block extra_head %}
    <link rel='stylesheet' href='{{ STATIC_URL }}pp_case.css' type='text/css' />
{% endblock %}
{% block body %}
{% include 'pp_case_info.html' %}
<table class="pp_case_info">
{% if pp_case.processStatus %}
    <tr>
        <th>PayPal事件调查情况</th>
        <th>&nbsp;</th>
    </tr>
    <tr>
        <td>责任部门</td>
        <td>{{ case_investigate.departmentGroup }}</td>
    </tr>
    <tr>
        <td>原因分类</td>
        <td>{{ case_investigate.reasonGroup }}</td>
    </tr>
    {% if case_investigate.involvedProvider %}
     <tr>
        <td>涉及供应商</td>
        <td>{{ case_investigate.involvedProvider }}</td>
     </tr>
        {% endif %}
        {% if case_investigate.investigationInfo %}
     <tr>
        <td>原因简要</td>
        <td>{{ case_investigate.investigationInfo}}</td>
     </tr>
        {% endif %}
     {% if case_investigate.involvedCategory %}
     <tr>
        <td>涉及品类</td>
        <td>{{ case_investigate.involvedCategory }}</td>
     </tr>
        {% endif %}
 {% endif %}
</table>
    <table class="pp_case_info">
    <tr>
        <th>操作过程</th>
        <th>&nbsp;</th>
    </tr>
    <tr >
        <td >操作时间</td>
        <td>操作动作</td>
    </tr>
    {% for case_handle in case_handles %}
     <tr>
        <td>{{ case_handle.handleDate }}</td>
        <td>{{ case_handle.handleAction }}</td>
     </tr>
    {% endfor %}

    </table>
    <table class="pp_case_info">
        <tr>
            <td><a href= "{{ pp_case.get_absolute_url }}handle">处理</a></td>
            <td><a href="{{ pp_case.get_absolute_url }}cooperate">同事协助</a> </td>
         </tr>
    </table>
{% endblock %}